﻿<%@ Assembly Name="zevenseas.TimerJobOverview, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4306074270f0265a"%> 
<%@ Page Language="C#" Inherits="zevenseas.TimerJobOverview.ApplicationPages.EditJob" MasterPageFile="~/_admin/admin.master"%> 

<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="SchedulePicker" src="~/_controltemplates/SchedulePicker.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls"  Assembly="Microsoft.SharePoint, Version=12.0.0.0,  Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="AdminControls" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint.ApplicationPages.Administration" %>

<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" Text="Edit Timer Job" EncodeMethod="HtmlEncode" />
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral2" runat="server" Text="e" EncodeMethod="HtmlEncode" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderId="PlaceHolderMain" runat="server" >

<style type="text/css">
    table.ms-propertysheet {
      height: 100%;
    }
  </style>
  <table cellspacing="0" cellpadding="0" border="0" class="ms-settingsframe">    
    <tr>
      <td valign="top" style="padding: 4px 0px 4px 0px;" height="100%">
  	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="ms-propertysheet">
    <wssuc:InputFormSection Title="Timer Job information"
        Description="Detailed information about the selected timer job." runat="server">		
        <template_inputformcontrols>
              <wssuc:InputFormControl LabelText="Job Title" runat="server">
                <Template_Control>  
                    <SharePoint:InputFormTextBox runat="server" id="uxJobTitle" Width="200"/>
                </Template_Control>
              </wssuc:InputFormControl>
              <wssuc:InputFormControl LabelText="Job Name" runat="server">
                <Template_Control>  
                    <SharePoint:InputFormTextBox runat="server" id="uxJobName" Width="200" ReadOnly="true"/>
                </Template_Control>
              </wssuc:InputFormControl>
              <wssuc:InputFormControl LabelText="Is Disabled" runat="server">
                <Template_Control>  
                    <SharePoint:InputFormCheckBox runat="server" id="uxJobDisabled"/>
                </Template_Control>
              </wssuc:InputFormControl>              
	   </template_inputformcontrols>            
    </wssuc:InputFormSection>                    

    <wssuc:InputFormSection Title="Timer Job Schedule"
        Description="Set the schedule for the job " runat="server">		
        <template_inputformcontrols>
              <wssuc:InputFormControl LabelText="" runat="server">
                <Template_Control>  
                    <SharePoint:WebApplicationSelector id="webApplicationSelector" runat="server"
				        TypeLabelCssClass="ms-listheaderlabel" Visible="false" />
			        <AdminControls:ServiceSelector id="serviceSelector" runat="server"
				        TypeLabelCssClass="ms-listheaderlabel" Visible="false" />				    
			        <wssuc:SchedulePicker id="schedulePicker" 
			            Minutes="True"
			            Hourly="True"
			            Daily="True" 
			            Weekly="True" 
			            Monthly="True" 
			            Enabled="True"			            
			            EnableStateView="True" 
			            runat="server"/>                   
                </Template_Control>
              </wssuc:InputFormControl>
	   </template_inputformcontrols>            
    </wssuc:InputFormSection>
    <wssuc:ButtonSection runat="server">
                <Template_Buttons>
                    <asp:Button runat="server" class="ms-ButtonHeightWidth" OnClick="OnClickOK" Text="<%$Resources:wss,multipages_okbutton_text%>" id="btnOk" accesskey="<%$Resources:wss,okbutton_accesskey%>"/>
                </Template_Buttons>
    </wssuc:ButtonSection>   
              
            </table>
    	</td>
    </tr>
  </table>
</asp:Content>
